package com.example.demo.repository;

import com.example.demo.model.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Auther: 宇宙第一帅
 * @Date: 2019/3/26 17:23
 * @Description:
 */
public interface UserRepository extends JpaRepository<User, String> {
    List<User>  findByAndUsername(String username);
}
